package com.example.delivery.mapper;

import com.example.delivery.pojo.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author huber
* @description 针对表【order】的数据库操作Mapper
* @createDate 2025-03-18 13:29:36
* @Entity com.example.delivery.pojo.Order
*/
public interface OrderMapper extends BaseMapper<Order> {
    //根据用户id查询所有的订单，要求封装餐馆信息
    List<Order> findAllOrdersByUserId(Integer userId);
}




